home *** CD-ROM | disk | FTP | other *** search
/ Agent Central Host Computer / Agent - Central Host Computer.iso / _SETUP.1 / cashbox.sql < prev    next >
Text File  |  2000-05-12  |  920b  |  23 lines

  1. /* RCSVER $Id: cashbox.sql,v 1.1 1999-02-25 15:10:52-06 randy CURRENT $ */
  2. /* *************************************************************************
  3. *        Copyright (C) 1999, Agent Systems, Inc. All Rights Reserved.
  4. *
  5. * Name:        cashbox.sql
  6. * Date:        02/23/1999
  7. * memo:        Randy Wood
  8. * Description:    Create the cashbox table. Cashbox contains an entry  
  9. *        for each cashbox active in the system. 
  10. * Changes:
  11. ************************************************************************* */
  12. CREATE TABLE cashbox
  13. (
  14.     cashbox_glid    NUMBER(38)    /* Internal sw ID for cashbox */
  15.         CONSTRAINT ref_cashbox1 REFERENCES global_id(glid)
  16.             ON DELETE CASCADE,
  17.     cb_sernum    VARCHAR2(20),    /* ser. num of electronic ID */
  18.                     /* THIS VALUE IS USED AT THE FAREBOX */
  19.                     /* >> not << THE GLOBAL ID */
  20.     status        NUMBER(38),      /* primary status: in service etc. */
  21.     CONSTRAINT pk_cashbox PRIMARY KEY (cashbox_glid)
  22. );
  23.